a {
    text-decoration: none;
    cursor: pointer;
    display: inline-block;
}

.wrapper {
    height: 100vh;
    overflow-y: auto;
}

.toolbar {
    position: fixed;
    right: 76px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;

    .go-item {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background-size: 40px 40px;
        background-position: center;
        background-color: #f5f6f7;
        background-repeat: no-repeat;
        filter: grayscale(1);
        cursor: pointer;

        &:not(:first-child) {
            margin-top: 16px;
        }
    }

    .top,
    .lolalytics,
    .yuedu {
        background-size: 30px 30px;
    }
}

.head {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;

    .logo {
        width: 192px;
        height: 42px;
        display: flex;
        align-items: center;
        margin-left: 76px;

        .logo-image {
            width: 30px;
            // height: 30px;
        }

        .logo-name {
            font-size: 28px;
            font-weight: 500;
            margin-left: 20px;
            font-weight: bolder;
        }
    }

    .meun {
        display: flex;
        margin-right: 76px;

        .meun-item {
            padding: 0 10px;
            font-size: 18px;
            line-height: 50px;
            color: black;
            cursor: pointer;

            :visited {
                color: black;
            }

            &:not(:first-child) {
                margin-left: 17px;
            }
        }
    }
}

.main {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 76px;

    .line {
        height: 1px;
        background-color: #dadada;
        width: 100%;
    }

    .intrd {
        padding-top: 128px;
        padding-bottom: 178px;
        width: 980px;
        display: flex;
        justify-content: space-between;

        .intrd-image {
            width: 387px;
            height: 358px;
        }

        .intrd-content {
            width: 512px;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            font-weight: 600;

            .intrd-hello {
                font-size: 60px;
                line-height: 72px;
                color: #3e83fb;
            }

            .intrd-text {
                margin-top: 20px;
                font-style: 48px;
                line-height: 52px;
                font-size: 32px;

                a {
                    display: inline-block;
                    color: #551a8b;
                }
            }
        }
    }

    .project {
        padding-top: 100px;
        padding-bottom: 92px;
        width: 896px;

        .project-head {
            display: flex;
            justify-content: space-between;

            .project-name {
                .main-name {
                    font-size: 56px;
                    font-weight: bolder;
                    line-height: 61.6px;
                    position: relative;

                    &::before {
                        content: "";
                        position: absolute;
                        width: 40px;
                        height: 40px;
                        top: 50%;
                        transform: translateX(-100%) translateY(-50%);
                        left: -13px;
                        background-size: cover;
                        background-repeat: no-repeat;
                    }
                }

                .yuedu::before {
                    background-image: url(../public/yuedu.png);
                    border-radius: 4px;
                }

                .acfun::before {
                    background-image: url(../public/acfun.png);
                    border-radius: 4px;
                }

                .lolalytics::before {
                    background-image: url(../public/lolalytics.png);
                    border-radius: 0;
                }

                .sub-name {
                    font-size: 16px;
                    line-height: 22.4px;
                    margin-top: 22px;
                    color: #747474;
                }
            }

            .project-content {
                width: 472px;
                margin-top: 9px;

                .project-text {
                    font-size: 24px;
                    line-height: 32px;
                }

                .project-view {
                    margin-top: 19px;
                    display: flex;
                    align-items: center;
                    cursor: pointer;

                    .view-icon {
                        width: 24px;
                        height: 24px;
                    }

                    .project-link {
                        margin-left: 8px;
                        font-size: 18px;
                        font-weight: bold;
                        position: relative;

                        .toast {
                            position: absolute;
                            width: 168px;
                            height: 198px;
                            left: 50%;
                            top: 0;
                            transform: translateX(-50%) translateY(-100%);

                            .toast-bg {
                                position: absolute;
                                width: 168px;
                                height: 198px;
                                left: 0;
                                top: 0;
                                filter: drop-shadow(0 0 5px black);
                            }

                            .code {
                                position: absolute;
                                width: 150px;
                                height: 150px;
                                margin: 9px;
                            }
                        }
                    }

                    .arrow-right {
                        margin-left: 8px;
                        width: 32px;
                        height: 32px;
                    }
                }
            }
        }

        .project-swiper {
            margin-top: 42px;
            // height: 511px;
            // border: 8px black solid;
            // border-radius: 20px;
            // overflow: hidden;

            // .image-wrapper {
            //     display: flex;
            //     height: 495px;
            //     left: 0;
            //     top: 0;

            //     img {
            //         width: 880px;
            //         height: 495px;
            //     }
            // }
        }

        .mobile-list {
            display: flex;
            margin-top: 42px;
            justify-content: space-between;

            .phone-wrapper {
                background-color: black;
                width: 282px;
                height: 552px;
                border-radius: 18px;
                display: flex;
                justify-content: center;
                align-items: center;

                .phone-screen {
                    width: 270px;
                    height: 540px;
                    background-color: white;
                    border-radius: 14px;
                }
            }
        }

        .project-result {
            margin-top: 42px;

            .result-title {
                font-size: 24px;
                font-weight: bold;
            }

            .result-content {
                margin-top: 12px;
                font-size: 20px;

                p {
                    // padding-left: 20px;
                    position: relative;
                    line-height: 34px;

                    &:not(:first-child) {
                        margin-top: 8px;
                    }

                    &::before {
                        content: "";
                        position: absolute;
                        width: 6px;
                        height: 6px;
                        border-radius: 50%;
                        background-color: black;
                        top: 14px;
                        left: -14px;
                    }

                    .npm {
                        width: 24px;
                        height: 24px;
                        display: inline-block;
                        vertical-align: middle;
                        position: relative;
                        top: -2px;
                    }
                }

                .no-dot::before {
                    display: none;
                }
            }
        }
    }

    .contact {
        width: 100%;
        padding: 50px;

        .contact-title {
            font-size: 40px;
            line-height: 52px;
            font-weight: bolder;
            position: relative;

            &::before {
                content: "";
                position: absolute;
                width: 40px;
                height: 40px;
                top: 50%;
                transform: translateX(-100%) translateY(-50%);
                left: -13px;
                border-radius: 50%;
                background-image: url(../public/contact.png);
                background-size: cover;
                background-repeat: no-repeat;
            }
        }

        .contact-list {
            display: flex;
            margin-top: 32px;

            .contact-link {
                font-size: 18px;
                display: flex;
                color: black;
                font-weight: bold;
                align-items: center;

                &:not(:first-child) {
                    margin-left: 32px;
                }

                .contact-icon {
                    width: 24px;
                    height: 24px;
                }

                .contact-type {
                    margin-left: 8px;
                }
            }
        }
    }
}
